﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="RegisterAdvisor.aspx.vb" Inherits="DARSClients.RegisterAdvisor" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
 <title>Beyond DARS - Advisor Registration</title>
     <script type="text/javascript" src="Scripts/myScripts.js" language="javascript"></script>
    <link id="myCSS" href="Styles/myStyle.css" rel="stylesheet" type="text/css" />
     <style type="text/css">
         .style1
         {
             width: 120px;
         }
         .style2
         {
             width: 128px;
             }
         .style4
         {
             width: 464px;
         }
         </style>
     </head>

<body>
  <div class="container">

        <div class="title-nav">

            <h2>Register an Advisor <br /><h1>To register a new advisor, please complete the form below!</h1></h2>

        </div>
        <form id="RegisterAdvisor" runat="server">
        <div class="newLine">  
            <table class="style4">
            <table align="center">
                <tr>
                    <td class="style1">
                                Username:</td>
                    <td class="style2">
                                <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
                            </td>
                </tr>
                <tr>
                    <td class="style1">
                                Password:
                            </td>
                    <td class="style2">
                                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" 
                                    style="text-align: left"></asp:TextBox>
                            </td>
                </tr>
                <tr>
                            <td>Confirm Password:
                            </td>
                            <td class="style2">
                                <asp:TextBox ID="txtConfirmPassword" runat="server" TextMode="Password"></asp:TextBox>
                            </td>
                        </tr>
                    </td>
                <tr>
                            <td>&nbsp;</td>
                            <td>
                                <asp:Button ID="btnCheck" runat="server" Text="Check Availability" CssClass="btn2"/>&nbsp;</td>
                        </tr>
                <tr>
                            <td colspan="2" style="text-align: left">
                                <asp:Label ID="lblValidate" runat="server" Font-Bold="True" 
                                    Font-Size="Medium" ForeColor="Red"></asp:Label>
                    </td>
                        </tr>
                <tr>
                            <td>
                                <asp:CompareValidator ID="valPasswordMatch" runat="server" 
                                    ControlToCompare="txtPassword" ControlToValidate="txtConfirmPassword" 
                                    ErrorMessage="CompareValidator" Font-Bold="True" Font-Names="Arial" 
                                    ForeColor="Red">Passwords Must Match!</asp:CompareValidator>
                    </td>
                            <td>
                                <asp:Label ID="lblValidateExist" runat="server" Font-Bold="True" 
                                    Font-Size="Medium" ForeColor="Red" Text="Username Already Exists"></asp:Label>
                    </td>
                        </tr>
                    </table>
            <br />
        </div>

        <div class="content">

            

                &nbsp;<asp:Panel ID="pnlUserInfo" runat="server">
                    <table align="center">
                        <tr>
                            <td>
                                First Name:
                            </td>
                            <td>
                                <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                Last Name:
                            </td>
                            <td>
                                <asp:TextBox ID="txtLastName" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                Email:
                            </td>
                            <td>
                                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                Confirm Email:
                            </td>
                            <td>
                                <asp:TextBox ID="txtConfirmEmail" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                <asp:CompareValidator ID="valEmailMatch" runat="server" 
                                    ControlToCompare="txtEmail" ControlToValidate="txtConfirmEmail" 
                                    ErrorMessage="CompareValidator" Font-Bold="True" Font-Names="Arial" 
                                    ForeColor="Red">Emails Must Match!</asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Department:
                            </td>
                            <td>
                                <asp:TextBox ID="txtDepartment" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                Security Question 1:</td>
                            <td>
                                <asp:TextBox ID="Q1txt" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                Answer 1:</td>
                            <td>
                                <asp:TextBox ID="A1txt" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                Security Question 2:</td>
                            <td>
                                <asp:TextBox ID="Q2txt" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                Answer 2:</td>
                            <td>
                                <asp:TextBox ID="A2txt" runat="server"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                &nbsp;</td>
                            <td style="text-align: center">
                                <asp:Label ID="lblComplete" runat="server" Font-Bold="True" Font-Size="Medium" 
                                    ForeColor="Red"></asp:Label>
                            </td>
                            <td style="text-align: center">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Button ID="btnSubmit" runat="server" CssClass="btn2" Height="38px" 
                                    Text="Submit" Width="90px" />
                            </td>
                            <td style="text-align: center">
                                <asp:Button ID="btnClear" runat="server" CssClass="btn2" Height="38px" 
                                    Text="Clear" Width="90px" />
                            </td>
                            <td style="text-align: center">
                                &nbsp;</td>
                        </tr>
                    </table>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</asp:Panel>
                
            </p>



        </div>
        </div>
        <div class="footer">
        <a><input  type="submit" class="text_button" id="btnLogout" runat="server" 
                value="Logout" causesvalidation="False" />
           <input type="submit" class="text_button" id="btnhome" runat="server" 
                value="Home" causesvalidation="False" /> </a>
        </div>
        </form>
</body>
</html>
